package com.wty.app.bthcar.info;

import android.text.TextUtils;
import android.widget.TextView;

public class DeviceBean {
    String deviceName;

    int type;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public DeviceBean(String deviceName, String deviceMac,int type) {
        this.deviceName = deviceName;
        this.type = type;
        this.deviceMac = deviceMac;
    }

    public String getDeviceMac() {
        return deviceMac;
    }

    public void setDeviceMac(String deviceMac) {
        this.deviceMac = deviceMac;
    }

    String deviceMac;

    public String getDeviceName() {
        return TextUtils.isEmpty(deviceName)?"Null":deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }
}
